package com.windy.api.search;

import com.windy.app.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient("app-search")
@RequestMapping("search")
public interface SearchClient {

    @PostMapping("init")
    Result init();
}
